list = ['Python','Java','PHP']

info = ' and '.join(list)
print(info)
print(list)

# list1 = [11,22,33]
# print('-'.join(list1)) # 序列中不是字符串 报错

# 一般用于将列表按指定子字符合并为字符串

